package com.tianpengtech.front.swagger;


import com.jfinal.core.Controller;
import com.tianpengtech.common.ip.IpUtil;

public class SwaggerController extends Controller {


    public void index(){

//        render("index.html");
    	String ip=getPara("ip","127.0.0.1");
    	renderJson(IpUtil.getIpInfo(ip));
    }

    public void editor(){

        render("swagger-editor.html");
    }
    
}
